﻿<ResourceDictionary
     x:Uid="ResourceDictionary_1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:Controls="clr-namespace:Demo.Controls">

    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary x:Uid="ResourceDictionary_2" Source="Brushes.xaml"/>
        <ResourceDictionary x:Uid="ResourceDictionary_3" Source="Fonts.xaml"/>
    </ResourceDictionary.MergedDictionaries>

    <!-- ******MAIN PAGE STYLES****** -->
    <Style x:Uid="Style_1" x:Key="LinkStyle" TargetType="RadioButton">
        <Setter x:Uid="Setter_1" Property="BorderThickness" Value="1"/>
        <Setter x:Uid="Setter_2" Property="BorderBrush" Value="#FF9D9492"/>
        <Setter x:Uid="Setter_3" Property="Foreground" Value="#FF595C64"/>
        <Setter x:Uid="Setter_4" Property="FontFamily" Value="{StaticResource HeaderFontFamily}"/>
        <Setter x:Uid="Setter_5" Property="FontSize" Value="{StaticResource NavigationFontSize}"/>
        <Setter x:Uid="Setter_6" Property="Cursor" Value="Hand"/>
        <Setter x:Uid="Setter_7" Property="Margin" Value="25,0"/>
        <Setter x:Uid="Setter_8" Property="VerticalContentAlignment" Value="Center"/>
        <Setter x:Uid="Setter_9" Property="HorizontalContentAlignment" Value="Center"/>
        <Setter x:Uid="Setter_10" Property="FontStretch" Value="Condensed"/>
        <Setter x:Uid="Setter_11" Property="FontWeight" Value="Light"/>
        <Setter x:Uid="Setter_12" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_1" TargetType="RadioButton">
                    <Grid x:Uid="ButtonGrid" x:Name="ButtonGrid" Cursor="{TemplateBinding Cursor}">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Uid="CommonStates" x:Name="CommonStates">
                                <VisualState x:Uid="Normal" x:Name="Normal"/>
                                <VisualState x:Uid="MouseOver" x:Name="MouseOver"/>
                                <VisualState x:Uid="Pressed" x:Name="Pressed">
                                    <Storyboard x:Uid="Storyboard_1">
                                        <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_1" BeginTime="0" Duration="00:00:00.001" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame x:Uid="EasingDoubleKeyFrame_1" KeyTime="0" Value="0.75"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_2" BeginTime="0" Duration="00:00:00.001" Storyboard.TargetName="InteractiveBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame x:Uid="EasingDoubleKeyFrame_2" KeyTime="0" Value="0.25"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Uid="Disabled" x:Name="Disabled">
                                    <Storyboard x:Uid="Storyboard_2">
                                        <ObjectAnimationUsingKeyFrames x:Uid="ObjectAnimationUsingKeyFrames_1" Duration="0" Storyboard.TargetName="DisabledOverlay" Storyboard.TargetProperty="Visibility">
                                            <DiscreteObjectKeyFrame x:Uid="DiscreteObjectKeyFrame_1" KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility x:Uid="Visibility_1">Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames x:Uid="ObjectAnimationUsingKeyFrames_2" BeginTime="0" Duration="00:00:00.001" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)">
                                            <DiscreteObjectKeyFrame x:Uid="DiscreteObjectKeyFrame_2" KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <HorizontalAlignment x:Uid="HorizontalAlignment_1">Center</HorizontalAlignment>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames x:Uid="ObjectAnimationUsingKeyFrames_3" BeginTime="0" Duration="00:00:00.001" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)">
                                            <DiscreteObjectKeyFrame x:Uid="DiscreteObjectKeyFrame_3" KeyTime="0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <VerticalAlignment x:Uid="VerticalAlignment_1">Center</VerticalAlignment>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_3" BeginTime="0" Duration="00:00:00.001" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame x:Uid="EasingDoubleKeyFrame_3" KeyTime="0" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_4" BeginTime="0" Duration="00:00:00.001" Storyboard.TargetName="DisabledOverlay" Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame x:Uid="EasingDoubleKeyFrame_4" KeyTime="0" Value="0.5"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                            <VisualStateGroup x:Uid="FocusStates" x:Name="FocusStates">
                                <VisualState x:Uid="Unfocused" x:Name="Unfocused"/>
                                <VisualState x:Uid="Focused" x:Name="Focused"/>
                            </VisualStateGroup>
                            <VisualStateGroup x:Uid="CheckStates" x:Name="CheckStates">
                                <VisualState x:Uid="Checked" x:Name="Checked"/>
                                <VisualState x:Uid="Unchecked" x:Name="Unchecked">
                                    <Storyboard x:Uid="Storyboard_3">
                                        <DoubleAnimation x:Uid="DoubleAnimation_1" Duration="0" To="0" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ContentBorder"/>
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Uid="Indeterminate" x:Name="Indeterminate"/>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Border x:Uid="InteractiveBorder" x:Name="InteractiveBorder" MinWidth="{TemplateBinding MinWidth}" MinHeight="{TemplateBinding MinHeight}" Background="{StaticResource HoverHyperlinkBackgroundBrush}" BorderThickness="1,1,1,1" Opacity="0" BorderBrush="{StaticResource HoverHyperlinkBackgroundBrush}" CornerRadius="0"/>
                        <ContentPresenter x:Uid="ContentPresenter" x:Name="ContentPresenter" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" />
                        <Border x:Uid="ContentBorder" x:Name="ContentBorder" MinWidth="{TemplateBinding MinWidth}" MinHeight="{TemplateBinding MinHeight}" BorderThickness="0,0,0,1" BorderBrush="{TemplateBinding Foreground}"/>
                        <TextBlock x:Uid="DisabledOverlay" x:Name="DisabledOverlay" Text="{TemplateBinding Content}" Foreground="#FFAAAAAA" Visibility="Collapsed" IsHitTestVisible="False" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="{TemplateBinding Padding}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!--CheckBox Style-->
    <Style x:Uid="Style_2" TargetType="{x:Type CheckBox}" x:Key="DefaultCheckBoxStyle">
        <Setter x:Uid="Setter_13" Property="FontFamily" Value="{StaticResource ContentFontFamily}"/>
        <Setter x:Uid="Setter_14" Property="Foreground" Value="{StaticResource BodyTextColorBrush}"/>
        <Setter x:Uid="Setter_15" Property="HorizontalAlignment" Value="Left"/>
        <Setter x:Uid="Setter_16" Property="HorizontalContentAlignment" Value="Left"/>
        <Setter x:Uid="Setter_17" Property="VerticalContentAlignment" Value="Center"/>
        <Setter x:Uid="Setter_18" Property="Padding" Value="4,0,0,0"/>
        <Setter x:Uid="Setter_19" Property="BorderThickness" Value="1"/>
        <Setter x:Uid="Setter_20" Property="BorderBrush" Value="#FF7F7F7F"/>
        <Setter x:Uid="Setter_21" Property="Background">
            <Setter.Value>
                <LinearGradientBrush x:Uid="LinearGradientBrush_1" EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop x:Uid="GradientStop_1" Color="#FFE5E5E5" Offset="0"/>
                    <GradientStop x:Uid="GradientStop_2" Color="White" Offset="1"/>
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_3" TargetType="{x:Type Controls:DropShadowTextBlock}">
        <Setter x:Uid="Setter_22" Property="Text" Value="DropShadowTextBlock" />
        <Setter x:Uid="Setter_23" Property="DropShadowColor" Value="Black" />
        <Setter x:Uid="Setter_24" Property="DropShadowOpacity" Value="0.5" />
        <Setter x:Uid="Setter_25" Property="DropShadowAngle" Value="45" />
        <Setter x:Uid="Setter_26" Property="DropShadowDistance" Value="2" />
        <Setter x:Uid="Setter_27" Property="Foreground" Value="Black" />
        <Setter x:Uid="Setter_28" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_2" TargetType="{x:Type Controls:DropShadowTextBlock}">
                    <Grid x:Uid="Grid_1" Background="{TemplateBinding Background}" HorizontalAlignment="{TemplateBinding HorizontalAlignment}" VerticalAlignment="{TemplateBinding VerticalAlignment}">
                        <TextBlock x:Uid="TextBlock_1" Text="{TemplateBinding Text}"
                                              TextDecorations="{TemplateBinding TextDecorations}"
                                              TextWrapping="{TemplateBinding TextWrapping}"
                                              IsHitTestVisible="False">
                                     <TextBlock.Foreground>
                                          <SolidColorBrush x:Uid="PART_DropShadowBrush" x:Name="PART_DropShadowBrush" />
                                     </TextBlock.Foreground>
                                     <TextBlock.RenderTransform>
                                          <TranslateTransform x:Uid="PART_DropShadowTranslate" X="2" Y="2" x:Name="PART_DropShadowTranslate" />
                                     </TextBlock.RenderTransform>
                        </TextBlock>
                        <TextBlock x:Uid="TextBlock_2" Text="{TemplateBinding Text}"
                                      TextDecorations="{TemplateBinding TextDecorations}"
                                      TextWrapping="{TemplateBinding TextWrapping}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <!-- Implicit Styles -->
    <Style x:Uid="Style_4" TargetType="{x:Type CheckBox}" BasedOn="{StaticResource DefaultCheckBoxStyle}" />
    <LinearGradientBrush x:Uid="LinearGradientBrush_2" x:Key="HorizontalSliderThumbHoverBackgroundInverted" EndPoint="0,0" StartPoint="0,1">
        <GradientStop x:Uid="GradientStop_3" Color="white" Offset="0"/>
        <GradientStop x:Uid="GradientStop_4" Color="#B8E2F9" Offset="0.5"/>
        <GradientStop x:Uid="GradientStop_5" Color="#B0DFF8" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Uid="SolidColorBrush_1" x:Key="HorizontalSliderThumbHoverBorder" Color="#3C7FB1"/>
    <LinearGradientBrush x:Uid="LinearGradientBrush_3" x:Key="HorizontalSliderThumbPressedBackgroundInverted" EndPoint="0,0" StartPoint="0,1">
        <GradientStop x:Uid="GradientStop_6" Color="#B8E4FA" Offset="0.25"/>
        <GradientStop x:Uid="GradientStop_7" Color="#5EB4E3" Offset="0.5"/>
        <GradientStop x:Uid="GradientStop_8" Color="#4C8BB4" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Uid="SolidColorBrush_2" x:Key="HorizontalSliderThumbPressedBorder" Color="#2C628B"/>
    <Geometry x:Uid="Geometry_1" x:Key="SliderThumbDisabledGeometry">M -5,-10.5 L 5,-10.5 L 5,10.5 L -5,10.5 Z</Geometry>
    <Geometry x:Uid="Geometry_2" x:Key="SliderPointedThumbDisabledGeometry">M 4.5,-8.5 L -4.5,-8.5 L -4.5,4.5 L -0.5,8.5 L 0.5,8.5 L 4.5,4.5 Z</Geometry>
    <Geometry x:Uid="Geometry_3" x:Key="SliderPointedThumbOuterBorderGeometry">M 4.5,-7.5 A 1 1 0 0 0 3.5,-8.5 L -3.5,-8.5 A 1 1 0 0 0 -4.5,-7.5 L -4.5,4.5 L -0.5,8.5 L 0.5,8.5 L 4.5,4.5 Z</Geometry>
    <LinearGradientBrush x:Uid="LinearGradientBrush_4" x:Key="HorizontalSliderThumbNormalBackgroundInverted" EndPoint="0,0" StartPoint="0,1">
        <GradientStop x:Uid="GradientStop_9" Color="White" Offset="0"/>
        <GradientStop x:Uid="GradientStop_10" Color="#F0EFEF" Offset="0.4"/>
        <GradientStop x:Uid="GradientStop_11" Color="#D6D5D5" Offset=".8"/>
    </LinearGradientBrush>
    <Geometry x:Uid="Geometry_4" x:Key="SliderPointedThumbMiddleBorderGeometry">M 3.5,-7.5 L -3.5,-7.5 L -3.5,4.5 L 0,8 L 3.5,4.5 Z</Geometry>
    <Style x:Uid="Style_5" x:Key="HorizontalSliderUpThumbStyle" TargetType="{x:Type Thumb}">
        <Setter x:Uid="Setter_29" Property="Focusable" Value="false"/>
        <Setter x:Uid="Setter_30" Property="OverridesDefaultStyle" Value="true"/>
        <Setter x:Uid="Setter_31" Property="Height" Value="18"/>
        <Setter x:Uid="Setter_32" Property="Width" Value="10"/>
        <Setter x:Uid="Setter_33" Property="Foreground" Value="Gray"/>
        <Setter x:Uid="Setter_34" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_3" TargetType="{x:Type Thumb}">
                    <Canvas x:Uid="Canvas_1" SnapsToDevicePixels="true">
                        <Canvas.RenderTransform>
                            <TransformGroup x:Uid="TransformGroup_1">
                                <TransformGroup.Children>
                                    <TransformCollection x:Uid="TransformCollection_1">
                                        <RotateTransform x:Uid="RotateTransform_1" Angle="180"/>
                                        <TranslateTransform x:Uid="TranslateTransform_1" X="5" Y="9"/>
                                    </TransformCollection>
                                </TransformGroup.Children>
                            </TransformGroup>
                        </Canvas.RenderTransform>
                        <Path x:Uid="Background" x:Name="Background" Data="{StaticResource SliderPointedThumbOuterBorderGeometry}" Fill="{StaticResource HorizontalSliderThumbNormalBackgroundInverted}"/>
                        <Path x:Uid="InnerBorder" x:Name="InnerBorder" Data="{StaticResource SliderPointedThumbMiddleBorderGeometry}" Stroke="White" StrokeThickness="1"/>
                        <Path x:Uid="OuterBorder" x:Name="OuterBorder" Data="{StaticResource SliderPointedThumbOuterBorderGeometry}" Stroke="#FF929292" StrokeThickness="1"/>
                    </Canvas>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_1" Property="IsMouseOver" Value="true">
                            <Setter x:Uid="Setter_35" Property="Fill" TargetName="Background" Value="{StaticResource HorizontalSliderThumbHoverBackgroundInverted}"/>
                            <Setter x:Uid="Setter_36" Property="Stroke" TargetName="OuterBorder" Value="{StaticResource HorizontalSliderThumbHoverBorder}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_2" Property="Foreground" Value="Blue">
                            <Setter x:Uid="Setter_37" Property="Fill" TargetName="Background" Value="{StaticResource HorizontalSliderThumbHoverBackgroundInverted}"/>
                            <Setter x:Uid="Setter_38" Property="Stroke" TargetName="OuterBorder" Value="{StaticResource HorizontalSliderThumbHoverBorder}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_3" Property="IsDragging" Value="true">
                            <Setter x:Uid="Setter_39" Property="Fill" TargetName="Background" Value="{StaticResource HorizontalSliderThumbPressedBackgroundInverted}"/>
                            <Setter x:Uid="Setter_40" Property="Stroke" TargetName="OuterBorder" Value="{StaticResource HorizontalSliderThumbPressedBorder}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_4" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_41" Property="Fill" TargetName="Background" Value="#FFF4F4F4"/>
                            <Setter x:Uid="Setter_42" Property="Stroke" TargetName="InnerBorder" Value="{x:Null}"/>
                            <Setter x:Uid="Setter_43" Property="Data" TargetName="OuterBorder" Value="{StaticResource SliderThumbDisabledGeometry}"/>
                            <Setter x:Uid="Setter_44" Property="Stroke" TargetName="OuterBorder" Value="#FFAEB1AF"/>
                            <Setter x:Uid="Setter_45" Property="Data" TargetName="OuterBorder" Value="{StaticResource SliderPointedThumbDisabledGeometry}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <LinearGradientBrush x:Uid="LinearGradientBrush_5" x:Key="HorizontalSliderThumbHoverBackground" EndPoint="0,1" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_12" Color="white" Offset="0"/>
        <GradientStop x:Uid="GradientStop_13" Color="#B8E2F9" Offset="0.5"/>
        <GradientStop x:Uid="GradientStop_14" Color="#B0DFF8" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Uid="LinearGradientBrush_6" x:Key="HorizontalSliderThumbPressedBackground" EndPoint="0,1" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_15" Color="#B8E4FA" Offset="0.25"/>
        <GradientStop x:Uid="GradientStop_16" Color="#5EB4E3" Offset="0.5"/>
        <GradientStop x:Uid="GradientStop_17" Color="#4C8BB4" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Uid="LinearGradientBrush_7" x:Key="HorizontalSliderThumbNormalBackground" EndPoint="0,1" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_18" Color="White" Offset="0"/>
        <GradientStop x:Uid="GradientStop_19" Color="#F0EFEF" Offset="0.4"/>
        <GradientStop x:Uid="GradientStop_20" Color="#D6D5D5" Offset=".8"/>
    </LinearGradientBrush>
    <Style x:Uid="Style_6" x:Key="HorizontalSliderDownThumbStyle" TargetType="{x:Type Thumb}">
        <Setter x:Uid="Setter_46" Property="Focusable" Value="false"/>
        <Setter x:Uid="Setter_47" Property="OverridesDefaultStyle" Value="true"/>
        <Setter x:Uid="Setter_48" Property="Height" Value="18"/>
        <Setter x:Uid="Setter_49" Property="Width" Value="10"/>
        <Setter x:Uid="Setter_50" Property="Foreground" Value="Gray"/>
        <Setter x:Uid="Setter_51" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_4" TargetType="{x:Type Thumb}">
                    <Canvas x:Uid="Canvas_2" SnapsToDevicePixels="true">
                        <Canvas.RenderTransform>
                            <TranslateTransform x:Uid="TranslateTransform_2" X="5" Y="9"/>
                        </Canvas.RenderTransform>
                        <Path x:Uid="Path_1" x:Name="Background" Data="{StaticResource SliderPointedThumbOuterBorderGeometry}" Fill="{StaticResource HorizontalSliderThumbNormalBackground}"/>
                        <Path x:Uid="Path_2" x:Name="InnerBorder" Data="{StaticResource SliderPointedThumbMiddleBorderGeometry}" Stroke="White" StrokeThickness="1"/>
                        <Path x:Uid="Path_3" x:Name="OuterBorder" Data="{StaticResource SliderPointedThumbOuterBorderGeometry}" Stroke="#FF929292" StrokeThickness="1"/>
                    </Canvas>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_5" Property="IsMouseOver" Value="true">
                            <Setter x:Uid="Setter_52" Property="Fill" TargetName="Background" Value="{StaticResource HorizontalSliderThumbHoverBackground}"/>
                            <Setter x:Uid="Setter_53" Property="Stroke" TargetName="OuterBorder" Value="{StaticResource HorizontalSliderThumbHoverBorder}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_6" Property="Foreground" Value="Blue">
                            <Setter x:Uid="Setter_54" Property="Fill" TargetName="Background" Value="{StaticResource HorizontalSliderThumbHoverBackground}"/>
                            <Setter x:Uid="Setter_55" Property="Stroke" TargetName="OuterBorder" Value="{StaticResource HorizontalSliderThumbHoverBorder}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_7" Property="IsDragging" Value="true">
                            <Setter x:Uid="Setter_56" Property="Fill" TargetName="Background" Value="{StaticResource HorizontalSliderThumbPressedBackground}"/>
                            <Setter x:Uid="Setter_57" Property="Stroke" TargetName="OuterBorder" Value="{StaticResource HorizontalSliderThumbPressedBorder}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_8" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_58" Property="Fill" TargetName="Background" Value="#FFF4F4F4"/>
                            <Setter x:Uid="Setter_59" Property="Stroke" TargetName="InnerBorder" Value="{x:Null}"/>
                            <Setter x:Uid="Setter_60" Property="Data" TargetName="OuterBorder" Value="{StaticResource SliderThumbDisabledGeometry}"/>
                            <Setter x:Uid="Setter_61" Property="Stroke" TargetName="OuterBorder" Value="#FFAEB1AF"/>
                            <Setter x:Uid="Setter_62" Property="Data" TargetName="OuterBorder" Value="{StaticResource SliderPointedThumbDisabledGeometry}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <SolidColorBrush x:Uid="SolidColorBrush_3" x:Key="HorizontalSliderTrackNormalBackground" Color="#FFE7EAEA"/>
    <Style x:Uid="Style_7" x:Key="SliderRepeatButtonStyle" TargetType="{x:Type RepeatButton}">
        <Setter x:Uid="Setter_63" Property="OverridesDefaultStyle" Value="true"/>
        <Setter x:Uid="Setter_64" Property="IsTabStop" Value="false"/>
        <Setter x:Uid="Setter_65" Property="Focusable" Value="false"/>
        <Setter x:Uid="Setter_66" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_5" TargetType="{x:Type RepeatButton}">
                    <Rectangle x:Uid="Rectangle_1" Fill="Transparent"/>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Geometry x:Uid="Geometry_5" x:Key="SliderThumbOuterBorderGeometry">M -5,-9.5 A 1 1 0 0 1 -4,-10.5 L 4,-10.5 A 1 1 0 0 1 5,-9.5 L 5,9.5 A 1 1 0 0 1 4,10.5 L -4,10.5 A 1 1 0 0 1 -5,9.5 Z</Geometry>
    <Geometry x:Uid="Geometry_6" x:Key="SliderThumbMiddleBorderGeometry">M -4,-9.5 L 4,-9.5 L 4,9.5 L -4,9.5 Z</Geometry>
    <Style x:Uid="Style_8" x:Key="HorizontalSliderThumbStyle" TargetType="{x:Type Thumb}">
        <Setter x:Uid="Setter_67" Property="Focusable" Value="false"/>
        <Setter x:Uid="Setter_68" Property="OverridesDefaultStyle" Value="true"/>
        <Setter x:Uid="Setter_69" Property="Height" Value="22"/>
        <Setter x:Uid="Setter_70" Property="Width" Value="11"/>
        <Setter x:Uid="Setter_71" Property="Foreground" Value="Gray"/>
        <Setter x:Uid="Setter_72" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_6" TargetType="{x:Type Thumb}">
                    <Grid x:Uid="Grid_2">
                        <Rectangle x:Uid="Rectangle_2" Fill="{StaticResource HorizontalSliderThumbNormalBackground}" Width="8" Height="16" RadiusX="2" RadiusY="2" Stroke="{TemplateBinding BorderBrush}"/>
                        <TextBlock x:Uid="TextBlock_3" Text="{Binding ToolTip, RelativeSource={RelativeSource TemplatedParent}, StringFormat={}{0:N1}}" VerticalAlignment="Bottom" Foreground="{StaticResource BodyTextColorBrush}" IsHitTestVisible="False" HorizontalAlignment="Right" Width="18" Margin="0,0,-1,0"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_9" Property="IsMouseOver" Value="true"/>
                        <Trigger x:Uid="Trigger_10" Property="Foreground" Value="Blue"/>
                        <Trigger x:Uid="Trigger_11" Property="IsDragging" Value="true"/>
                        <Trigger x:Uid="Trigger_12" Property="IsEnabled" Value="false"/>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <LinearGradientBrush x:Uid="LinearGradientBrush_8" x:Key="VerticalSliderThumbHoverBackground" EndPoint="1,0" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_21" Color="white" Offset="0"/>
        <GradientStop x:Uid="GradientStop_22" Color="#B8E2F9" Offset="0.5"/>
        <GradientStop x:Uid="GradientStop_23" Color="#B0DFF8" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Uid="LinearGradientBrush_9" x:Key="VerticalSliderThumbPressedBackground" EndPoint="1,0" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_24" Color="#B8E4FA" Offset="0.25"/>
        <GradientStop x:Uid="GradientStop_25" Color="#5EB4E3" Offset="0.5"/>
        <GradientStop x:Uid="GradientStop_26" Color="#4C8BB4" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Uid="LinearGradientBrush_10" x:Key="VerticalSliderThumbNormalBackground" EndPoint="1,0" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_27" Color="White" Offset="0"/>
        <GradientStop x:Uid="GradientStop_28" Color="#F0EFEF" Offset="0.4"/>
        <GradientStop x:Uid="GradientStop_29" Color="#D6D5D5" Offset=".8"/>
    </LinearGradientBrush>
    <Style x:Uid="Style_9" x:Key="VerticalSliderLeftThumbStyle" TargetType="{x:Type Thumb}">
        <Setter x:Uid="Setter_73" Property="Focusable" Value="false"/>
        <Setter x:Uid="Setter_74" Property="OverridesDefaultStyle" Value="true"/>
        <Setter x:Uid="Setter_75" Property="Height" Value="10"/>
        <Setter x:Uid="Setter_76" Property="Width" Value="18"/>
        <Setter x:Uid="Setter_77" Property="Foreground" Value="Gray"/>
        <Setter x:Uid="Setter_78" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_7" TargetType="{x:Type Thumb}">
                    <Canvas x:Uid="Canvas_3" SnapsToDevicePixels="true">
                        <Canvas.RenderTransform>
                            <TransformGroup x:Uid="TransformGroup_2">
                                <TransformGroup.Children>
                                    <TransformCollection x:Uid="TransformCollection_2">
                                        <RotateTransform x:Uid="RotateTransform_2" Angle="90"/>
                                        <TranslateTransform x:Uid="TranslateTransform_3" X="9" Y="5"/>
                                    </TransformCollection>
                                </TransformGroup.Children>
                            </TransformGroup>
                        </Canvas.RenderTransform>
                        <Path x:Uid="Path_4" x:Name="Background" Data="{StaticResource SliderPointedThumbOuterBorderGeometry}" Fill="{StaticResource VerticalSliderThumbNormalBackground}"/>
                        <Path x:Uid="Path_5" x:Name="InnerBorder" Data="{StaticResource SliderPointedThumbMiddleBorderGeometry}" Stroke="White" StrokeThickness="1"/>
                        <Path x:Uid="Path_6" x:Name="OuterBorder" Data="{StaticResource SliderPointedThumbOuterBorderGeometry}" Stroke="#FF929292" StrokeThickness="1"/>
                    </Canvas>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_13" Property="IsMouseOver" Value="true">
                            <Setter x:Uid="Setter_79" Property="Fill" TargetName="Background" Value="{StaticResource VerticalSliderThumbHoverBackground}"/>
                            <Setter x:Uid="Setter_80" Property="Stroke" TargetName="OuterBorder" Value="{StaticResource HorizontalSliderThumbHoverBorder}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_14" Property="Foreground" Value="Blue">
                            <Setter x:Uid="Setter_81" Property="Fill" TargetName="Background" Value="{StaticResource VerticalSliderThumbHoverBackground}"/>
                            <Setter x:Uid="Setter_82" Property="Stroke" TargetName="OuterBorder" Value="{StaticResource HorizontalSliderThumbHoverBorder}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_15" Property="IsDragging" Value="true">
                            <Setter x:Uid="Setter_83" Property="Fill" TargetName="Background" Value="{StaticResource VerticalSliderThumbPressedBackground}"/>
                            <Setter x:Uid="Setter_84" Property="Stroke" TargetName="OuterBorder" Value="{StaticResource HorizontalSliderThumbPressedBorder}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_16" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_85" Property="Fill" TargetName="Background" Value="#FFF4F4F4"/>
                            <Setter x:Uid="Setter_86" Property="Stroke" TargetName="InnerBorder" Value="{x:Null}"/>
                            <Setter x:Uid="Setter_87" Property="Data" TargetName="OuterBorder" Value="{StaticResource SliderPointedThumbDisabledGeometry}"/>
                            <Setter x:Uid="Setter_88" Property="Stroke" TargetName="OuterBorder" Value="#FFAEB1AF"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <LinearGradientBrush x:Uid="LinearGradientBrush_11" x:Key="VerticalSliderThumbHoverBackgroundInverted" EndPoint="0,0" StartPoint="1,0">
        <GradientStop x:Uid="GradientStop_30" Color="white" Offset="0"/>
        <GradientStop x:Uid="GradientStop_31" Color="#B8E2F9" Offset="0.5"/>
        <GradientStop x:Uid="GradientStop_32" Color="#B0DFF8" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Uid="LinearGradientBrush_12" x:Key="VerticalSliderThumbPressedBackgroundInverted" EndPoint="0,0" StartPoint="1,0">
        <GradientStop x:Uid="GradientStop_33" Color="#B8E4FA" Offset="0.25"/>
        <GradientStop x:Uid="GradientStop_34" Color="#5EB4E3" Offset="0.5"/>
        <GradientStop x:Uid="GradientStop_35" Color="#4C8BB4" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Uid="LinearGradientBrush_13" x:Key="VerticalSliderThumbNormalBackgroundInverted" EndPoint="0,0" StartPoint="1,0">
        <GradientStop x:Uid="GradientStop_36" Color="White" Offset="0"/>
        <GradientStop x:Uid="GradientStop_37" Color="#F0EFEF" Offset="0.4"/>
        <GradientStop x:Uid="GradientStop_38" Color="#D6D5D5" Offset=".8"/>
    </LinearGradientBrush>
    <Style x:Uid="Style_10" x:Key="VerticalSliderRightThumbStyle" TargetType="{x:Type Thumb}">
        <Setter x:Uid="Setter_89" Property="Focusable" Value="false"/>
        <Setter x:Uid="Setter_90" Property="OverridesDefaultStyle" Value="true"/>
        <Setter x:Uid="Setter_91" Property="Height" Value="10"/>
        <Setter x:Uid="Setter_92" Property="Width" Value="18"/>
        <Setter x:Uid="Setter_93" Property="Foreground" Value="Gray"/>
        <Setter x:Uid="Setter_94" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_8" TargetType="{x:Type Thumb}">
                    <Canvas x:Uid="Canvas_4" SnapsToDevicePixels="true">
                        <Canvas.RenderTransform>
                            <TransformGroup x:Uid="TransformGroup_3">
                                <TransformGroup.Children>
                                    <TransformCollection x:Uid="TransformCollection_3">
                                        <RotateTransform x:Uid="RotateTransform_3" Angle="-90"/>
                                        <TranslateTransform x:Uid="TranslateTransform_4" X="9" Y="5"/>
                                    </TransformCollection>
                                </TransformGroup.Children>
                            </TransformGroup>
                        </Canvas.RenderTransform>
                        <Path x:Uid="Path_7" x:Name="Background" Data="{StaticResource SliderPointedThumbOuterBorderGeometry}" Fill="{StaticResource VerticalSliderThumbNormalBackgroundInverted}"/>
                        <Path x:Uid="Path_8" x:Name="InnerBorder" Data="{StaticResource SliderPointedThumbMiddleBorderGeometry}" Stroke="White" StrokeThickness="1"/>
                        <Path x:Uid="Path_9" x:Name="OuterBorder" Data="{StaticResource SliderPointedThumbOuterBorderGeometry}" Stroke="#FF929292" StrokeThickness="1"/>
                    </Canvas>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_17" Property="IsMouseOver" Value="true">
                            <Setter x:Uid="Setter_95" Property="Fill" TargetName="Background" Value="{StaticResource VerticalSliderThumbHoverBackgroundInverted}"/>
                            <Setter x:Uid="Setter_96" Property="Stroke" TargetName="OuterBorder" Value="{StaticResource HorizontalSliderThumbHoverBorder}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_18" Property="Foreground" Value="Blue">
                            <Setter x:Uid="Setter_97" Property="Fill" TargetName="Background" Value="{StaticResource VerticalSliderThumbHoverBackgroundInverted}"/>
                            <Setter x:Uid="Setter_98" Property="Stroke" TargetName="OuterBorder" Value="{StaticResource HorizontalSliderThumbHoverBorder}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_19" Property="IsDragging" Value="true">
                            <Setter x:Uid="Setter_99" Property="Fill" TargetName="Background" Value="{StaticResource VerticalSliderThumbPressedBackgroundInverted}"/>
                            <Setter x:Uid="Setter_100" Property="Stroke" TargetName="OuterBorder" Value="{StaticResource HorizontalSliderThumbPressedBorder}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_20" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_101" Property="Fill" TargetName="Background" Value="#FFF4F4F4"/>
                            <Setter x:Uid="Setter_102" Property="Stroke" TargetName="InnerBorder" Value="{x:Null}"/>
                            <Setter x:Uid="Setter_103" Property="Data" TargetName="OuterBorder" Value="{StaticResource SliderPointedThumbDisabledGeometry}"/>
                            <Setter x:Uid="Setter_104" Property="Stroke" TargetName="OuterBorder" Value="#FFAEB1AF"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <LinearGradientBrush x:Uid="LinearGradientBrush_14" x:Key="VerticalSliderTrackNormalBorder" EndPoint="1,0" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_39" Color="#FFAEB1AF" Offset="0.1"/>
        <GradientStop x:Uid="GradientStop_40" Color="White" Offset=".9"/>
    </LinearGradientBrush>
    <Style x:Uid="Style_11" x:Key="VerticalSliderThumbStyle" TargetType="{x:Type Thumb}">
        <Setter x:Uid="Setter_105" Property="Focusable" Value="false"/>
        <Setter x:Uid="Setter_106" Property="OverridesDefaultStyle" Value="true"/>
        <Setter x:Uid="Setter_107" Property="Height" Value="11"/>
        <Setter x:Uid="Setter_108" Property="Width" Value="22"/>
        <Setter x:Uid="Setter_109" Property="Foreground" Value="Gray"/>
        <Setter x:Uid="Setter_110" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_9" TargetType="{x:Type Thumb}">
                    <Canvas x:Uid="Canvas_5" SnapsToDevicePixels="true">
                        <Canvas.RenderTransform>
                            <TransformGroup x:Uid="TransformGroup_4">
                                <TransformGroup.Children>
                                    <TransformCollection x:Uid="TransformCollection_4">
                                        <RotateTransform x:Uid="RotateTransform_4" Angle="90"/>
                                        <TranslateTransform x:Uid="TranslateTransform_5" X="11" Y="5.5"/>
                                    </TransformCollection>
                                </TransformGroup.Children>
                            </TransformGroup>
                        </Canvas.RenderTransform>
                        <Path x:Uid="Path_10" x:Name="Background" Data="{StaticResource SliderThumbOuterBorderGeometry}" Fill="{StaticResource VerticalSliderThumbNormalBackground}"/>
                        <Path x:Uid="Path_11" x:Name="InnerBorder" Data="{StaticResource SliderThumbMiddleBorderGeometry}" Stroke="White" StrokeThickness="1"/>
                        <Path x:Uid="Path_12" x:Name="OuterBorder" Data="{StaticResource SliderThumbOuterBorderGeometry}" Stroke="#FF929292" StrokeThickness="1"/>
                    </Canvas>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_21" Property="IsMouseOver" Value="true">
                            <Setter x:Uid="Setter_111" Property="Fill" TargetName="Background" Value="{StaticResource VerticalSliderThumbHoverBackground}"/>
                            <Setter x:Uid="Setter_112" Property="Stroke" TargetName="OuterBorder" Value="{StaticResource HorizontalSliderThumbHoverBorder}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_22" Property="Foreground" Value="Blue">
                            <Setter x:Uid="Setter_113" Property="Fill" TargetName="Background" Value="{StaticResource VerticalSliderThumbHoverBackground}"/>
                            <Setter x:Uid="Setter_114" Property="Stroke" TargetName="OuterBorder" Value="{StaticResource HorizontalSliderThumbHoverBorder}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_23" Property="IsDragging" Value="true">
                            <Setter x:Uid="Setter_115" Property="Fill" TargetName="Background" Value="{StaticResource VerticalSliderThumbPressedBackground}"/>
                            <Setter x:Uid="Setter_116" Property="Stroke" TargetName="OuterBorder" Value="{StaticResource HorizontalSliderThumbPressedBorder}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_24" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_117" Property="Fill" TargetName="Background" Value="#FFF4F4F4"/>
                            <Setter x:Uid="Setter_118" Property="Stroke" TargetName="InnerBorder" Value="{x:Null}"/>
                            <Setter x:Uid="Setter_119" Property="Data" TargetName="OuterBorder" Value="{StaticResource SliderThumbDisabledGeometry}"/>
                            <Setter x:Uid="Setter_120" Property="Stroke" TargetName="OuterBorder" Value="#FFAEB1AF"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_12" x:Key="SliderStyle" TargetType="{x:Type Slider}">
        <Setter x:Uid="Setter_121" Property="Stylus.IsPressAndHoldEnabled" Value="false"/>
        <Setter x:Uid="Setter_122" Property="Background" Value="Transparent"/>
        <Setter x:Uid="Setter_123" Property="Foreground" Value="#FFC4C4C4"/>
        <Setter x:Uid="Setter_124" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_10" TargetType="{x:Type Slider}">
                    <Border x:Uid="Border_1" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="true">
                        <Grid x:Uid="Grid_3">
                            <Grid.RowDefinitions>
                                <RowDefinition x:Uid="RowDefinition_1" Height="Auto"/>
                                <RowDefinition x:Uid="RowDefinition_2" Height="Auto" MinHeight="{TemplateBinding MinHeight}"/>
                                <RowDefinition x:Uid="RowDefinition_3" Height="Auto"/>
                            </Grid.RowDefinitions>
                            <Border x:Uid="TrackBackground" x:Name="TrackBackground" BorderThickness="1" Background="{DynamicResource SliderTrackBrush}" CornerRadius="1" Height="4.0" Margin="5,0" Grid.Row="1" VerticalAlignment="Center">
                                <Canvas x:Uid="Canvas_6" Margin="-6,-1">
                                    <Rectangle x:Uid="PART_SelectionRange" x:Name="PART_SelectionRange" Fill="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" Height="4.0" Stroke="{DynamicResource {x:Static SystemColors.ControlDarkDarkBrushKey}}" StrokeThickness="1.0" Visibility="Hidden"/>
                                </Canvas>
                            </Border>
                            <Track x:Uid="PART_Track" x:Name="PART_Track" Grid.Row="1">
                                <Track.DecreaseRepeatButton>
                                    <RepeatButton x:Uid="RepeatButton_1" Command="{x:Static Slider.DecreaseLarge}" Style="{StaticResource SliderRepeatButtonStyle}"/>
                                </Track.DecreaseRepeatButton>
                                <Track.IncreaseRepeatButton>
                                    <RepeatButton x:Uid="RepeatButton_2" Command="{x:Static Slider.IncreaseLarge}" Style="{StaticResource SliderRepeatButtonStyle}"/>
                                </Track.IncreaseRepeatButton>
                                <Track.Thumb>
                                    <Thumb x:Uid="Thumb" x:Name="Thumb" Style="{StaticResource HorizontalSliderThumbStyle}" BorderBrush="{StaticResource SliderTrackBrush}" BorderThickness="1" ToolTip="{Binding Value, RelativeSource={RelativeSource TemplatedParent}}" Height="45" Width="18"/>
                                </Track.Thumb>
                            </Track>
                        </Grid>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_25" Property="TickPlacement" Value="TopLeft">
                            <Setter x:Uid="Setter_125" Property="Style" TargetName="Thumb" Value="{StaticResource HorizontalSliderUpThumbStyle}"/>
                            <Setter x:Uid="Setter_126" Property="Margin" TargetName="TrackBackground" Value="5,2,5,0"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_26" Property="TickPlacement" Value="BottomRight">
                            <Setter x:Uid="Setter_127" Property="Style" TargetName="Thumb" Value="{StaticResource HorizontalSliderDownThumbStyle}"/>
                            <Setter x:Uid="Setter_128" Property="Margin" TargetName="TrackBackground" Value="5,0,5,2"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_27" Property="TickPlacement" Value="Both"/>
                        <Trigger x:Uid="Trigger_28" Property="IsSelectionRangeEnabled" Value="true">
                            <Setter x:Uid="Setter_129" Property="Visibility" TargetName="PART_SelectionRange" Value="Visible"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_29" Property="IsKeyboardFocused" Value="true">
                            <Setter x:Uid="Setter_130" Property="Foreground" TargetName="Thumb" Value="Blue"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger x:Uid="Trigger_30" Property="Orientation" Value="Vertical">
                <Setter x:Uid="Setter_131" Property="Template">
                    <Setter.Value>
                        <ControlTemplate x:Uid="ControlTemplate_11" TargetType="{x:Type Slider}">
                            <Border x:Uid="Border_2" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="true">
                                <Grid x:Uid="Grid_4">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition x:Uid="ColumnDefinition_1" Width="Auto"/>
                                        <ColumnDefinition x:Uid="ColumnDefinition_2" MinWidth="{TemplateBinding MinWidth}" Width="Auto"/>
                                        <ColumnDefinition x:Uid="ColumnDefinition_3" Width="Auto"/>
                                    </Grid.ColumnDefinitions>
                                    <TickBar x:Uid="TopTick" x:Name="TopTick" Grid.Column="0" Fill="{TemplateBinding Foreground}" Placement="Left" Visibility="Collapsed" Width="4"/>
                                    <TickBar x:Uid="BottomTick" x:Name="BottomTick" Grid.Column="2" Fill="{TemplateBinding Foreground}" Placement="Right" Visibility="Collapsed" Width="4"/>
                                    <Border x:Uid="Border_3" x:Name="TrackBackground" BorderBrush="{StaticResource VerticalSliderTrackNormalBorder}" BorderThickness="1" Background="{StaticResource HorizontalSliderTrackNormalBackground}" Grid.Column="1" CornerRadius="1" HorizontalAlignment="center" Margin="0,5" Width="4.0">
                                        <Canvas x:Uid="Canvas_7" Margin="-1,-6">
                                            <Rectangle x:Uid="Rectangle_3" x:Name="PART_SelectionRange" Fill="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" Stroke="{DynamicResource {x:Static SystemColors.ControlDarkDarkBrushKey}}" StrokeThickness="1.0" Visibility="Hidden" Width="4.0"/>
                                        </Canvas>
                                    </Border>
                                    <Track x:Uid="Track_1" x:Name="PART_Track" Grid.Column="1">
                                        <Track.DecreaseRepeatButton>
                                            <RepeatButton x:Uid="RepeatButton_3" Command="{x:Static Slider.DecreaseLarge}" Style="{StaticResource SliderRepeatButtonStyle}"/>
                                        </Track.DecreaseRepeatButton>
                                        <Track.IncreaseRepeatButton>
                                            <RepeatButton x:Uid="RepeatButton_4" Command="{x:Static Slider.IncreaseLarge}" Style="{StaticResource SliderRepeatButtonStyle}"/>
                                        </Track.IncreaseRepeatButton>
                                        <Track.Thumb>
                                            <Thumb x:Uid="Thumb_1" x:Name="Thumb" Style="{StaticResource VerticalSliderThumbStyle}"/>
                                        </Track.Thumb>
                                    </Track>
                                </Grid>
                            </Border>
                            <ControlTemplate.Triggers>
                                <Trigger x:Uid="Trigger_31" Property="TickPlacement" Value="TopLeft">
                                    <Setter x:Uid="Setter_132" Property="Visibility" TargetName="TopTick" Value="Visible"/>
                                    <Setter x:Uid="Setter_133" Property="Style" TargetName="Thumb" Value="{StaticResource VerticalSliderLeftThumbStyle}"/>
                                    <Setter x:Uid="Setter_134" Property="Margin" TargetName="TrackBackground" Value="2,5,0,5"/>
                                </Trigger>
                                <Trigger x:Uid="Trigger_32" Property="TickPlacement" Value="BottomRight">
                                    <Setter x:Uid="Setter_135" Property="Visibility" TargetName="BottomTick" Value="Visible"/>
                                    <Setter x:Uid="Setter_136" Property="Style" TargetName="Thumb" Value="{StaticResource VerticalSliderRightThumbStyle}"/>
                                    <Setter x:Uid="Setter_137" Property="Margin" TargetName="TrackBackground" Value="0,5,2,5"/>
                                </Trigger>
                                <Trigger x:Uid="Trigger_33" Property="TickPlacement" Value="Both">
                                    <Setter x:Uid="Setter_138" Property="Visibility" TargetName="TopTick" Value="Visible"/>
                                    <Setter x:Uid="Setter_139" Property="Visibility" TargetName="BottomTick" Value="Visible"/>
                                </Trigger>
                                <Trigger x:Uid="Trigger_34" Property="IsSelectionRangeEnabled" Value="true">
                                    <Setter x:Uid="Setter_140" Property="Visibility" TargetName="PART_SelectionRange" Value="Visible"/>
                                </Trigger>
                                <Trigger x:Uid="Trigger_35" Property="IsKeyboardFocused" Value="true">
                                    <Setter x:Uid="Setter_141" Property="Foreground" TargetName="Thumb" Value="Blue"/>
                                </Trigger>
                            </ControlTemplate.Triggers>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
            </Trigger>
        </Style.Triggers>
    </Style>
</ResourceDictionary>